Method for sharing routing information and network element using the same

ABSTRACT

The method allows to share, within a network element of a telecommunication network, routing information deriving from a first routing source; the network element is of the type comprising a management agent provided with a management information database, wherein different routing information deriving from different routing sources is stored in different routing databases within the network element; according to the method, the management agent performs the steps of: a) receiving from a management manager route mapping information; b) storing into the management information database route mapping information corresponding to the received route mapping information; and c) retrieving and using the stored route mapping information for exporting said routing information from a first routing database of the first routing source and importing it into a second routing database of a second routing source.

INCORPORATION BY REFERENCE OF PRIORITY DOCUMENT

[0001] This application is based on, and claims the benefit of, European Patent Application No. 01403296.5 filed on Dec. 19, 2001, which is incorporated by reference herein.

BACKGROUND OF THE INVENTION

[0002] 1. Field Of The Invention

[0003] The present invention relates to a method for sharing routing information within a network element of a telecommunication network according to the preamble of claim 1, and to a network element using the same.

[0004] 2. Description Of The Prior Art

[0005] In a telecommunication network the information travels across the network from network element to network element till it reaches the destination entity; each network element has generally a number of neighbouring network elements; a network element routes the information received to one of its neighbouring network elements, unless the destination entity is directly connected to it.

[0006] In the Internet Protocol world it is quite common, at least for network elements located in particular nodes of the network, that different routing protocols coexist in the same network element, for example OSPF and BGP.

[0007] Additionally, all network elements have generally at least two different sources of routes, namely: a routing protocol and the network management operator who is responsible for static and default routes and who acts through a management manager external to the network elements.

[0008] Each routing protocol maintains its private information base, that is a routing database, describing the routes learned through exchange of information with neighbouring network elements running the same routing protocol. Different routing protocols do not exchange any information spontaneously.

[0009] In those network elements running more than one routing protocol it is often necessary or useful to have at least a partial sharing of routing information deriving from different routing protocols.

[0010] In all network elements the routing protocol needs to use or share the routing information deriving from other sources, typically the static and default routes deriving from the network management operator through a network management manager; nowadays network elements of telecommunication networks always comprises a management agent adapted to communicate with a management manager in order to allow its remote management by the network operator.

[0011] The problem of sharing routing information has already been solved in commercially available telecommunication equipments.

[0012] Known solutions involve the use of a Command Line Interface (CLI) implemented in the management agent; the operator, through the management manager, can directly instruct a specified management agent to carry out a specified “redistribution command” of specified routing information.

[0013] These solutions imply a heavy task for the operator and, therefore, they are error-prone.

SUMMARY OF THE INVENTION

[0014] Therefore it is the object of the present invention to provide a method for sharing routing information that overcomes the drawbacks of the prior art solutions.

[0015] This object is achieved through the sharing method having the functionalities set out in independent claim 1.

[0016] The basic idea behind the present invention is to store route mapping information into the management information database (MIB) of the management agent and to let the management agent retrieve and use the stored route mapping information for exportation-importation of routing information in the routing databases.

[0017] According to another aspect, the present invention relates also to a processor product program and to memory means having the features set out respectively in independent claims 12 and 13, and that are specifically adapted for carrying out this sharing method.

[0018] According to still another aspect, the present invention relates also to a network element having the features set out in independent claim 14, and that is specifically adapted to carry out this sharing method.

[0019] Further advantageous aspects of the present invention are set out in the dependent claims.

[0020] The invention will become more apparent from the following description to be considered in conjunction with the accompanying drawing.

BRIEF DESCRIPTION OF THE DRAWING

[0021]FIG. 1 shows an embodiment of a network element according to the present invention.

BEST MODE FOR CARRYING OUT THE INVENTION

[0022] With reference to FIG. 1, a network element NE, according to the present invention, comprises a management agent MAG provided with a management information database, indicated in the Figure and generally called MIB.

[0023] The network element NE, more specifically the management agent MAG, is connected and in communication with a remote management manager MMA; management of network element NE can be carried out through one of widely spread network management protocols, in the present example through SNMP protocol.

[0024] The network element NE is connected and in communication with other network elements of the telecommunication network, that are called “neighbouring network elements” and are not shown in the Figure.

[0025] The network element NE of the Figure comprises further a route manager RMA and a number of different routing databases, e.g. three: RDB1, RDB2, RDB3, . . . Database RDB1 may be a OSPF routing database, database RDB2 may be a BGP routing database, database RDB3 may be a “static and default routes” routing database. These databases contains routing information deriving from different routing sources: according to the example, database RDB1 contains information deriving from OSPF protocol, database RDB2 contains information deriving from BGP protocol, database RDB3 contains information deriving from the management manager MMA. The route manager RMA has the task of managing the different routing databases RDB1, RDB2, RDB3.

[0026] The network element NE of the Figure comprises further a forwarding database FDB that is also managed or, at least, accessed by the route manager RMA.

[0027] The management agent MAG and the route manager RMA are in communication between each other for carrying out exportation-importation of routing information.

[0028] As it should be apparent, the route manager RMA may alternatively be part of the management agent MAG: e.g. be a software module of agent software program.

[0029] Now, the method according to the present invention will be described in the following with reference to the Figure; this reference should not be considered limitative in any sense.

[0030] The method according to the present invention allows to share, within a network element of a telecommunication network, such as network element NE of the Figure, routing information deriving from a first routing source, e.g. the OSPF routing protocol.

[0031] According to the method, management agent MAG performs the steps of:

[0032] a) receiving from management manager MMA route mapping information;

[0033] b) storing into management information database MIB route mapping information corresponding to the received route mapping information; and

[0034] c) retrieving and using the stored route mapping information for exporting said routing information from a first routing database, e.g. RDB1, of the first routing source, e.g. the OSPF protocol, and importing it into a second routing database, e.g. RDB2, of a second routing source, e.g. the BGP protocol.

[0035] As already mentioned, different routing databases RDB1, RDB2, RDB3 may be advantageously managed by route manager RMA; in this case, management agent MAG instructs route manager RMA to carry out exportation-importation of routing information instead of acting directly on these databases.

[0036] The first routing source may be a routing protocol running within network element NE.

[0037] Alternatively, the first routing source may be a routing protocol running within any neighbouring network element in the telecommunication network.

[0038] When the first and second routing sources are of the same kind, e.g. two OSPF routing protocols running on different network elements, it could happen that routing information coming from the neighbour may be used as it is, i.e. without the need of any processing; anyway, even in this case, it is advantageous to use the method according the present invention and “re-map” the routes.

[0039] The first routing source may also be a management manager MMA external to network element NE; a management manager (and the associated operator) is usually responsible for static and default routes.

[0040] As it is apparent from what above, the method according to the present invention is widely applicable to many different cases.

[0041] The task of continuously sharing routing information between different sources/databases is entrusted to the management agents of the network elements and the operator has to communicate to the agents how to carry out the sharing only once or, at least, very seldom.

[0042] The route mapping information stored in MIB database may comprise information relating to at least one mapping rule; in general, several mapping rules are necessary to appropriately describe the required mapping.

[0043] The or each mapping rule stored in MIB database may advantageously comprise information relating to:

[0044] a set rule for conversion of routing information, particularly for metric conversion; and

[0045] a match rule indicating to which routing information said set rule applies.

[0046] The or each mapping rule may advantageously comprise further information relating to:

[0047] an exportation routing source, and

[0048] an importation routing source.

[0049] The or each mapping rule may advantageously comprise further information relating to:

[0050] an activation flag indicating whether the corresponding mapping rule is actually to be used for exportation-importation;

[0051] in fact, it is useful to leave to the operator the possibility to activate and deactivate some mapping rules depending on the operating conditions of the network.

[0052] The or each mapping rule may advantageously comprise further information relating to:

[0053] a selection flag indicating whether the corresponding match rule applies or do not applies;

[0054] this option is useful for describing complex mapping strategies; for example, it may be necessary to share a whole big set of routing information with the exception of three limited sets of routing information; in this case, four mapping rules may be used: the first one having a positive selection flag and the other three having a negative selection flag.

[0055] In order to increase the complexity of mapping strategies, each mapping rule may advantageously comprise further information relating to:

[0056] an index indicating the order of precedence of the corresponding mapping rule;

[0057] in this case, the management agent scans the stored route mapping information following the index and, as soon as a matching mapping rule is encountered, the corresponding mapping is carried out; in this case the operator has to carefully study the index assigned to every mapping rule in order to achieve the desired mapping; typically, the default route should be the last to be examined by the agent.

[0058] For processing purposes, it is advantageous that route mapping information is stored within management information database MIB as a table; in this case, each entry (it could be a row or a column) in the table corresponds to a different mapping rule.

[0059] For processing purposes, it is advantageous that the information relating to a match rule consists in a pointer to an entry in at least one match rule table comprised in management information database MIB.

[0060] For processing purposes, it is advantageous that the information relating to a set rule consists in a pointer to an entry in at least one set rule table comprised in management information base MIB.

[0061] It is advantageous that the management agent carries out (directly or indirectly) exportation-importation of routing information taking into account eventual import-export blocking information stored, preferably as a table, within management information database MIB; the blocking information identifies at least one couple of routing sources; the blocking information overrides the route mapping information. This option is useful in order to leave to the operator the possibility of blocking some kind of mapping in particular operating conditions of the network.

[0062] In case of “re-mapping”, it is useful that the match rule indicates:

[0063] to which routing network addresses the corresponding set rule applies;

[0064] whether the exportation routing source is internal or external to said network element;

[0065] whether the importation routing source is internal or external to said network element; and

[0066] to which external routing source or sources the corresponding set rule applies;

[0067] this last parameter can be considered as a “host list”; the list may refer to a “host table”.

[0068] Each entry in a match rule table may comprise information relating to at least:

[0069] a destination network address, and

[0070] a destination network address mask.

[0071] Other fields of this table, that may increase the flexibility of the match rule, are mentioned and explained in the detailed SNMP description listed later on.

[0072] Each entry in a set rule table may comprise information relating to at least:

[0073] a metric value, and

[0074] a metric scale.

[0075] Other fields of this table, that may increase the flexibility of the set rule, are mentioned and explained in the detailed SNMP description listed later on.

[0076] The method according to the present invention would be implemented in software in a commercial network element.

[0077] Therefore, according to another aspect, the present invention relates also to a processor program product comprising program code portions adapted to perform the steps of this sharing method when executed by a processor of network element NE.

[0078] Such a software program may be splitted in modules that call each other or communicate between each other, as it is common; some of these modules may indeed be external to the program and be bought on the market from specialized software developer.

[0079] According to a further aspect, the present invention relates also to memory means (e.g., a floppy disk or an EPROM memory device, . . . ) storing a processor program product comprising program code portions adapted to perform the steps of this sharing method when executed by a processor of network element NE.

[0080] According to still a further aspect, the present invention relates also to a network element NE provided with a management information database MIB and comprising a management agent MAG, wherein the management information database MIB is adapted to store route mapping information and in that the management agent MAG is adapted to carry out this sharing method.

[0081] In the following the SNMP description is listed of data structures used for storing route mapping information according to a specific embodiment of the present invention where two routing sources are provided: OSPF protocol and management manager; it is easy to introduce a second routing protocol, e.g. BGP.

[0082] routeMapTable OBJECT-TYPE

[0083] SYNTAX SEQUENCE OF RouteMapEntry

[0084] MAX-ACCESS not-accessible

[0085] STATUS current

[0086] DESCRIPTION p “Information describing a generic rule consisting of filters and conditions to be applied when exporting routes from a routing protocol (or a default route) to another protocol”

[0087] ::={xxx xxx}

[0088] routeMapEntry OBJECT-TYPE

[0089] SYNTAX RouteMapEntry

[0090] MAX-ACCESS not-accessible

[0091] STATUS current

[0092] DESCRIPTION

[0093] “An entry in the generic rule for route export activities”

[0094] INDEX {routeMapFromProtocol, routeMapToProtocol, routeMapld}

[0095] ::={routeMapTable 1}

[0096] RouteMapEntry::=

[0097] SEQUENCE {

[0098] routeMapFromProtocol INTEGER,

[0099] routeMapToProtocol INTEGER,

[0100] routeMapld INTEGER,

[0101] routeMapScanner INTEGER,

[0102] routeMapMatchRule INTEGER,

[0103] routeMapSetRule INTEGER,

[0104] routeMapAllow TruthValue,

[0105] routeMapRowStatus RowStatus}

[0106] routeMapFromProtocol OBJECT-TYPE

[0107] SYNTAX INTEGER{

[0108] defaultRoute (1),

[0109] staticRoute (3),

[0110] osfp (13),

[0111] bgp (14)}

[0112] MAX-ACCESS not-accessible

[0113] STATUS current

[0114] DESCRIPTION

[0115] “This field is used to identify the protocol that is exporting the routes”

[0116] ::={routeMapEntry 1}

[0117] routeMapToProtocol OBJECT-TYPE

[0118] SYNTAX INTEGER{

[0119] osfp (13),

[0120] bgp (14)}

[0121] MAX-ACCESS not-accessible

[0122] STATUS current

[0123] DESCRIPTION

[0124] “This field is used to identify the protocol that is importing the routes”

[0125] ::{routeMapEntry 2}

[0126] routeMapid OBJECT-TYPE

[0127] SYNTAX INTEGER

[0128] MAX-ACCESS not-accessible

[0129] STATUS current

[0130] DESCRIPTION “This field is used to identify a record in a sequence of rules. The value restarts from 1 in any different sequence identified by the exporting and importing protocols”

[0131] ::={routeMapEntry 3}

[0132] routeMapScanner OBJECT-TYPE

[0133] SYNTAX INTEGER

[0134] MAX-ACCESS read-create

[0135] STATUS current

[0136] DESCRIPTION

[0137] “This field is used to identify the sequence order in which the rules must be applied”

[0138] ::={routeMapEntry 4}

[0139] routeMapMatchRule OBJECT-TYPE

[0140] SYNTAX INTEGER

[0141] MAX-ACCESS read-create

[0142] STATUS current

[0143] DESCRIPTION

[0144] “This field identifies the filters that must be applied to the route data. The association between the protocol and the filter table is implicit. The value of this field is equal to the value of the identifier field of the protocol dependent filter table. The value −1 indicates that no filter is associated to this entry. When a default route is exported this field has always value −1”

[0145] ::{routeMapEntry 5}

[0146] routeMapSetRule OBJECT-TYPE

[0147] SYNTAX INTEGER

[0148] MAX-ACCESS read-create

[0149] STATUS current

[0150] DESCRIPTION

[0151] “This field identifies the conditions that must be applied to the routes that match the protocol dependent filters. The association between the protocol and the condition table is implicit. The value of this field is equal to the value of the identifier field of the protocol dependent condition table. The value −1 indicates that no rule is associated to this entry. Whenever the user does not allow a route to be exported, this field has always value −1. In case the export of the route is allowed and the value of routeMapMatchRule is different from −1, a value of −1 in this field indicates that the route is exported applying all the defaults associated to the set rule of the routeMapToProtocol. In case the value of the routeMapFromProtocol field is equal to the value of the routeMapToProtocol field, this field can have a value of −2 indicating that there is no rule is associated to the entry and NO default is applied”

[0152] ::{routeMapEntry 6}

[0153] routeMapAllow OBJECT-TYPE

[0154] SYNTAX TruthValue

[0155] MAX-ACCESS read-create

[0156] STATUS current

[0157] DESCRIPTION

[0158] “This field is needed to allow the export of the routes (value True) or to forbid the export of the routes (value False) matching the protocol dependent rules”

[0159] ::={routeMapEntry 7}

[0160] routeMapRowStatus OBJECT-TYPE

[0161] SYNTAX RowStatus

[0162] MAX-ACCESS read-create

[0163] STATUS current

[0164] DESCRIPTION

[0165] “This variable displays the status of the entry. Disabled entries are not taken into account when performing export activities.”

[0166] ::={routeMapEntry 8}

[0167] staticRouteMatchRuleTable OBJECT-TYPE

[0168] SYNTAX SEQUENCE OF StaticRouteMatchRuleEntry

[0169] MAX-ACCESS not-accessible

[0170] STATUS current

[0171] DESCRIPTION

[0172] “Information describing filters that can be applied when selecting static routes to be exported to other protocols”

[0173] ::={xxx xxx}

[0174] staticRouteMatchRuleEntry OBJECT-TYPE

[0175] SYNTAX StaticRouteMatchRuleEntry

[0176] MAX-ACCESS not-accessible

[0177] STATUS current

[0178] DESCRIPTION

[0179] “An entry in the filter table for exported static routes”

[0180] INDEX {staticRouteMatchRuleld}

[0181] ::={staticRouteMatchRuleTable 1}

[0182] StaticRouteMatchRuleEntry::=

[0183] SEQUENCE {

[0184] staticRouteMatchRuleld INTEGER,

[0185] staticRouteMatchRuleMask BITS,

[0186] staticRouteMatchRulelpAddr IpAddress,

[0187] staticRouteMatchRulelpMask IpAddress,

[0188] staticRouteMatchRuleNHAddr IpAddress,

[0189] staticRouteMatchRuleNHMask IpAddress,

[0190] staticRouteMatchRuleMetricLo INTEGER,

[0191] staticRouteMatchRuleMetricHi INTEGER,

[0192] staticRouteMatchRuleRowStatus RowStatus}

[0193] staticRouteMatchRuleld OBJECT-TYPE

[0194] SYNTAX INTEGER

[0195] MAX-ACCESS not-accessible

[0196] STATUS current

[0197] DESCRIPTION

[0198] “This field is used to identify an entry. An entry is associated to a rule when the routeMapMatchRule field of a routeMapTable entry contains the same value reported in this field”

[0199] ::={staticRouteMatchRuleEntry 1}

[0200] staticRouteMatchRuleMask OBJECT-TYPE

[0201] SYNTAX BITS {

[0202] destinationAddressFilter (0),

[0203] nextHopAddressFilter (1),

[0204] metricValueFilter (2)}

[0205] MAX-ACCESS read-create

[0206] STATUS current

[0207] DESCRIPTION

[0208] “This field is used to select the filters that must be applied”

[0209] ::{staticRouteMatchRuleEntry 2}

[0210] staticRouteMatchRulelpAddr OBJECT-TYPE

[0211] SYNTAX IpAddress

[0212] MAX-ACCESS read-create

[0213] STATUS current

[0214] DESCRIPTION

[0215] “This field contain a destination address to be used together with the destination address mask in order to select routes toward a range of destination addresses all resident in the same subnet. This field is meaningful only in case the destinationAddressFilter bit in the staticRouteMatchRuleMask is set”

[0216] ::{staticRouteMatchRuleEntry 3}

[0217] staticRouteMatchRulelpMask OBJECT-TYPE

[0218] SYNTAX IpAddress

[0219] MAX-ACCESS read-create

[0220] STATUS current

[0221] DESCRIPTION

[0222] “This field contain a destination address mask to be used together with the destination address in order to select routes toward a range of destination addresses all resident in the same subnet. An ”all one” mask is needed to select a single address. An “all zero” mask is needed to create an entry that selects all the addresses. The all zero mask is useful when creating the last entry in a sequence of rules to specify what to do if all the previous filters do not match. This field is meaningful only in case the destinationAddressFilter bit in the staticRouteMatchRuleMask is set”

[0223] ::{staticRouteMatchRuleEntry 4}

[0224] staticRouteMatchRuleNHAddr OBJECT-TYPE

[0225] SYNTAX IpAddress

[0226] MAX-ACCESS read-create

[0227] STATUS current

[0228] DESCRIPTION

[0229] “This field contain a next hop address to be used together with the next hop address mask in order to select routes toward a range of next hop addresses all resident in the same subnet. This field is meaningful only in case the nextHopAddressFilter bit in the staticRouteMatchRuleMask is set”

[0230] ::={staticRouteMatchRuleEntry 5}

[0231] staticRouteMatchRuleNHMask OBJECT-TYPE

[0232] SYNTAX IpAddress

[0233] MAX-ACCESS read-create

[0234] STATUS current

[0235] DESCRIPTION

[0236] “This field contain a next hop address mask to be used together with the next hop address in order to select routes toward a range of next hop addresses all resident in the same subnet. An “all one” mask is needed to select a single address. An “all zero” mask is needed to create an entry that selects all the addresses. The all zero mask is useful when creating the last entry in a sequence of rules to specify what to do if all the previous filters do not match. This field is meaningful only in case the nextHopAddressFilter bit in the staticRouteMatchRuleMask is set”

[0237] ::{staticRouteMatchRuleEntry 6}

[0238] staticRouteMatchRuleMetricLo OBJECT-TYPE

[0239] SYNTAX INTEGER

[0240] MAX-ACCESS read-create

[0241] STATUS current

[0242] DESCRIPTION

[0243] “This field contain a lower metric value to be used for a metric filter. In order to match, routes must have a metric value higher or equal to the value reported in this field. This field is used together with staticRouteMatchRuleMetricHi to identify a range of metrics. In order to identify a single value, staticRouteMatchRuleMetricLo and staticRouteMatchRuleMetricHi must have the same value. This field is meaningful only in case the metricValueFilter bit in the staticRouteMatchRuleMask is set”

[0244] ::{staticRouteMatchRuleEntry 7}

[0245] staticRouteMatchRuleMetricHi OBJECT-TYPE

[0246] SYNTAX INTEGER

[0247] MAX-ACCESS read-create

[0248] STATUS current

[0249] DESCRIPTION

[0250] “This field contain a lower metric value to be used for a metric filter. In order to match, routes must have a metric value less or equal to the value reported in this field. This field is used together with staticRouteMatchRuleMetricLo to identify a range of metrics. In order to identify a single value, static RouteMatchRuleMetricLo and staticRouteMatchRuleMetricHi must have the same value. This field is meaningful only in case the metricValueFilter bit in the staticRouteMatchRuleMask is set”

[0251] ::{staticRouteMatchRuleEntry 8}

[0252] staticRouteMatchRuleRowStatus OBJECT-TYPE

[0253] SYNTAX RowStatus

[0254] MAX-ACCESS read-create

[0255] STATUS current

[0256] DESCRIPTION

[0257] “This variable displays the status of the entry. Disabled entries are not taken into account when performing filter activities.”

[0258] ::={staticRouteMatchRuleEntry 9}

[0259] ospfMatchRuleTable OBJECT-TYPE

[0260] SYNTAX SEQUENCE OF OspfMatchRuleEntry

[0261] MAX-ACCESS not-accessible

[0262] STATUS current

[0263] DESCRIPTION

[0264] “Information describing filters that can be applied when selecting ospf routes to be exported to other protocols”

[0265] ::={xxx xxx}

[0266] ospfMatchRuleEntry OBJECT-TYPE

[0267] SYNTAX OspfMatchRuleEntry

[0268] MAX-ACCESS not-accessible

[0269] STATUS current

[0270] DESCRIPTION

[0271] “An entry in the filter table for exported ospf routes”

[0272] INDEX {ospfMatchRuleld}

[0273] ::={ospfMatchRuleTable 1}

[0274] OspfMatchRuleEntry::=

[0275] SEQUENCE {

[0276] ospfMatchRuleld INTEGER,

[0277] ospfMatchRuleMask BITS,

[0278] ospfMatchRulelpAddr IpAddress,

[0279] ospfMatchRulelpMask IpAddress,

[0280] ospfMatchRuleNHAddr IpAddress,

[0281] ospfMatchRuleNHMask IpAddress,

[0282] ospfMatchRuleMetricType INTEGER,

[0283] ospfMatchRuleMetricLo INTEGER,

[0284] ospfMatchRuleMetricHi INTEGER,

[0285] ospfMatchRuleTagLo INTEGER,

[0286] ospfMatchRuleTagHi INTEGER,

[0287] ospfMatchRuleDirection INTEGER,

[0288] ospfMatchRuleAddressList INTEGER,

[0289] ospfMatchRuleRowStatus RowStatus}

[0290] ospfMatchRuleld OBJECT-TYPE

[0291] SYNTAX INTEGER

[0292] MAX-ACCESS not-accessible

[0293] STATUS current

[0294] DESCRIPTION

[0295] “This field is used to identify an entry. An entry is associated to a rule when the routeMapMatchRule field of a routeMapTable entry contains the same value reported in this field”

[0296] ::={ospfMatchRuleEntry 1}

[0297] ospfMatchRuleMask OBJECT-TYPE

[0298] SYNTAX BITS {

[0299] destinationAddressFilter (0),

[0300] nextHopAddressFilter (1),

[0301] metricTypeFilter (2)

[0302] metricValueFilter (3),

[0303] tagValueFilter (4),}

[0304] MAX-ACCESS read-create

[0305] STATUS current

[0306] DESCRIPTION

[0307] “This field is used to select the filters that must be applied. In case routeMapFromProtocol and routeMapToProtocol in a routeMapTable's row have both value ‘ospf’, the directionFilter bit must be set”

[0308] ::={ospfMatchRuleEntry 2}

[0309] ospfMatchRulelpAddr OBJECT-TYPE

[0310] SYNTAX IpAddress

[0311] MAX-ACCESS read-create

[0312] STATUS current

[0313] DESCRIPTION

[0314] “This field contain a destination address to be used together with the destination address mask in order to select routes toward a range of destination addresses all resident in the same subnet. This field is meaningful only in case the destinationAddressFilter bit in the ospfMatchRuleMask is set”

[0315] ::={ospfMatchRuleEntry 3}

[0316] ospfMatchRulelpMask OBJECT-TYPE

[0317] SYNTAX IpAddress

[0318] MAX-ACCESS read-create

[0319] STATUS current

[0320] DESCRIPTION

[0321] “This field contains a destination address mask to be used together with the destination address in order to select routes toward a range of destination addresses all resident in the same subnet. An “all one” mask is needed to select a single address. An “all zero” mask is needed to create an entry that selects all the addresses. The all zero mask is useful when creating the last entry in a sequence of rules to specify what to do if all the previous filters do not match. This field is meaningful only in case the destinationAddressFilter bit in the ospfMatchRuleMask is set”

[0322] ::={ospfMatchRuleEntry 4}

[0323] ospfMatchRuleNHAddr OBJECT-TYPE

[0324] SYNTAX IpAddress

[0325] MAX-ACCESS read-create

[0326] STATUS current

[0327] DESCRIPTION

[0328] “This field contain a next hop address to be used together with the next hop address mask in order to select routes toward a range of next hop addresses all resident in the same subnet. This field is meaningful only in case the nextHopAddressFilter bit in the ospfMatchRuleMask is set”

[0329] ::{ospfMatchRuleEntry 5}

[0330] ospfMatchRuleNHMask OBJECT-TYPE

[0331] SYNTAX IpAddress

[0332] MAX-ACCESS read-create

[0333] STATUS current

[0334] DESCRIPTION

[0335] “This field contain a next hop address mask to be used together with the next hop address in order to select routes toward a range of next hop addresses all resident in the same subnet. An “all one” mask is needed to select a single address. An “all zero” mask is needed to create an entry that selects all the addresses. The all zero mask is useful when creating the last entry in a sequence of rules to specify what to do if all the previous filters do not match. This field is meaningful only in case the nextHopAddressFilter bit in the ospfMatchRuleMask is set”

[0336] ::={ospfMatchRuleEntry 6}

[0337] ospfMatchRuleMetricType OBJECT-TYPE

[0338] SYNTAX INTEGER{

[0339] ospfExternalType1 (1),

[0340] ospfExternalType2 (2),

[0341] ospfinternal (3)}

[0342] MAX-ACCESS read-create

[0343] STATUS current

[0344] DESCRIPTION

[0345] “This field contains the kind of metric that must be matched when OSPF is importing/exporting routes. The value ospflnternal is valid only in case OSPF is importing/exporting to OSPF. This field is meaningful only in case the metricTypeFilter bit in the ospfMatchRuleMask is set”

[0346] ::{ospfMatchRuleEntry 7}

[0347] ospfMatchRuleMetricLo OBJECT-TYPE

[0348] SYNTAX INTEGER

[0349] MAX-ACCESS read-create

[0350] STATUS current

[0351] DESCRIPTION

[0352] “This field contain a lower metric value to be used for a metric filter. In order to match, routes must have a metric value higher or equal to the value reported in this field. This field is used together with staticRouteMatchRuleMetricHi to identify a range of metrics. In order to identify a single value, ospfMatchRuleMetricLo and ospfMatchRuleMetricHi must have the same value. This field is meaningful only in case the metricValueFilter bit in the ospfMatchRuleMask is set”

[0353] ::{ospfMatchRuleEntry 8}

[0354] ospfMatchRuleMetricHi OBJECT-TYPE

[0355] SYNTAX INTEGER

[0356] MAX-ACCESS read-create

[0357] STATUS current

[0358] DESCRIPTION

[0359] “This field contain a lower metric value to be used for a metric filter. In order to match, routes must have a metric value less or equal to the value reported in this field. This field is used together with ospfMatchRuleMetricLo to identify a range of metrics. In order to identify a single value, ospfMatchRuleMetricLo and ospfMatchRuleMetricHi must have the same value. This field is meaningful only in case the metricValueFilter bit in the ospfMatchRuleMask is set”

[0360] ::={ospfMatchRuleEntry 9}

[0361] ospfMatchRuleTagLo OBJECT-TYPE

[0362] SYNTAX INTEGER

[0363] MAX-ACCESS read-create

[0364] STATUS current

[0365] DESCRIPTION

[0366] “This field contain a lower tag value to be used for a tag value filter. In order to match, routes must have a tag value higher or equal to the value reported in this field. This field is used together with ospfMatchRuleTagHi to identify a range of tag values. In order to identify a single value, ospfMatchRuleTagLo and ospfMatchRuleTagHi must have the same value. This field is meaningful only in case the tagValueFilter bit in the ospfMatchRuleMask is set”

[0367] ::={ospfMatchRuleEntry 10}

[0368] ospfMatchRuleTagHi OBJECT-TYPE

[0369] SYNTAX INTEGER

[0370] MAX-ACCESS read-create

[0371] STATUS current

[0372] DESCRIPTION

[0373] “This field contain a hugher tag value to be used for a tag value filter. In order to match, routes must have a tag value less or equal to the value reported in this field. This field is used together with ospfMatchRuleTagLo to identify a range of tag value. In order to identify a single value, ospfMatchRuleTagHi and ospfMatchRuleTagLo must have the same value. This field is meaningful only in case the tagValueFilter bit in the ospfMatchRuleMask is set”

[0374] ::={ospfMatchRuleEntry 11}

[0375] ospfMatchRuleDirection OBJECT-TYPE

[0376] SYNTAX INTEGER{

[0377] import (1),

[0378] export (2)}

[0379] MAX-ACCESS read-create

[0380] STATUS current

[0381] DESCRIPTION

[0382] “This field is used to identify whether the filter is associated to imported or exported routes. This field is meaningful only in case the routeMapFromProtocol and routeMapToProtocol in the routeMapTable row referring this one, have the same value and the value is ‘ospf’. In all other cases the value is not meaningful.”

[0383] ::={ospfMatchRuleEntry 12}

[0384] ospfMatchRuleAddressList OBJECT-TYPE

[0385] SYNTAX INTEGER

[0386] MAX-ACCESS read-create

[0387] STATUS current

[0388] DESCRIPTION

[0389] “This field is used to identify a set of hosts in the routeMapHostTable. This field is meaningful only in case the routeMapFromProtocol and routeMapToProtocol in the routeMapTable row referring this one, have the same value and the value is ‘ospf’. In all other cases the value is not meaningful.”

[0390] ::={ospfMatchRuleEntry 13}

[0391] ospfMatchRuleRowStatus OBJECT-TYPE

[0392] SYNTAX RowStatus

[0393] MAX-ACCESS read-create

[0394] STATUS current

[0395] DESCRIPTION

[0396] “This variable displays the status of the entry. Disabled entries are not taken into account when performing filter activities.

[0397] ::={staticRouteMatchRuleEntry 14}

[0398] routeMapHostTable OBJECT-TYPE

[0399] SYNTAX SEQUENCE OF RouteMapHostEntry

[0400] MAX-ACCESS not-accessible

[0401] STATUS current

[0402] DESCRIPTION

[0403] “It contains all the set of hosts/subnetworks addresses used by a match rule filter”

[0404] ::={xxx xxx}

[0405] routeMapHostEntry OBJECT-TYPE

[0406] SYNTAX RouteMapHostEntry

[0407] MAX-ACCESS not-accessible

[0408] STATUS current

[0409] DESCRIPTION

[0410] “An entry describing an host or a subnetwork address associated to a set of hosts/subnetworks addresses”

[0411] INDEX {routeMapHostSequenceld, routeMapHostAddress routeMapHostMask }

[0412] routeMapHostTable 1}

[0413] RouteMapHostEntry ::=

[0414] SEQUENCE {

[0415] routeMapHostSequenceld INTEGER,

[0416] routeMapHostAddress IpAddress,

[0417] routeMapHostMask IpAddress,

[0418] routeMapHostRowStatus RowStatus}

[0419] routeMapHostSequenceld OBJECT-TYPE

[0420] SYNTAX INTEGER

[0421] MAX-ACCESS not-accessible

[0422] STATUS current

[0423] DESCRIPTION

[0424] “This field is used to identify the set of addresses to which the host/subnetwork address belongs”

[0425] ::={routeMapHostEntry 1}

[0426] routeMapHostAddress OBJECT-TYPE

[0427] SYNTAX INTEGER

[0428] MAX-ACCESS not-accessible

[0429] STATUS current

[0430] DESCRIPTION

[0431] “This field contains an host address to be used together with the host address mask in order to select a range of host addresses all resident in the same subnet.”

[0432] ::={routeMapHostEntry 2}

[0433] routeMapHostMask OBJECT-TYPE

[0434] SYNTAX IpAddress

[0435] MAX-ACCESS not-accessible

[0436] STATUS current

[0437] DESCRIPTION

[0438] “This field contains a host address mask to be used together with the host address in order to select a range of host addresses all resident in the same subnet. An “all one” mask is needed to select a single address. An “all zero” mask is needed to create an entry that selects all the addresses.”

[0439] ::={routeMapHostEntry 3}

[0440] routeMapHostRowStatus OBJECT-TYPE

[0441] SYNTAX RowStatus

[0442] MAX-ACCESS read-create

[0443] STATUS current

[0444] DESCRIPTION

[0445] “This variable displays the status of the entry. Disabled entries are not taken into account when performing filtering activities”

[0446] ::={routeMapHostEntry 4}

[0447] importBlockingTable OBJECT-TYPE

[0448] SYNTAX SEQUENCE OF ImportBlockingEntry

[0449] MAX-ACCESS not-accessible

[0450] STATUS current

[0451] DESCRIPTION

[0452] “It contains all the set of hosts/subnetworks addresses used by a match rule filter”

[0453] ::={xxx xxx}

[0454] importBlockingEntry OBJECT-TYPE

[0455] SYNTAX lmportBlockingEntry

[0456] MAX-ACCESS not-accessible

[0457] STATUS current

[0458] DESCRIPTION

[0459] “An entry describing an host or a subnetwork address associated to a set of hosts/subnetworks addresses”

[0460] INDEX {importBlockingFromProtocol, importBlockingToProtocol}

[0461] ::={importBlockingTable 1}

[0462] ImportBlockingEntry::=

[0463] SEQUENCE {

[0464] importBlockingFromProtocol INTEGER,

[0465] importBlockingToProtocol INTEGER,

[0466] importBlockingRowStatus RowStatus}

[0467] importBlockingFromProtocol OBJECT-TYPE

[0468] SYNTAX INTEGER{

[0469] anyProtocol (1),

[0470] osfp (13),

[0471] bgp (14)}

[0472] MAX-ACCESS not-accessible

[0473] STATUS current

[0474] DESCRIPTION

[0475] “This field is used to identify the exporting protocol. Routes exported from importBlockingFromProtocol cannot be imported into importBlockingToProtocol.”

[0476] ::={importBlockingEntry 1}

[0477] importBlockingToProtocol OBJECT-TYPE

[0478] SYNTAX INTEGER{

[0479] anyProtocol (1),

[0480] osfp (13),

[0481] bgp (14)}

[0482] MAX-ACCESS not-accessible

[0483] STATUS current

[0484] DESCRIPTION

[0485] “This field is used to identify the importing protocol. Routes exported from importBlockingFromProtocol cannot be imported into importBlockingToProtocol.”

[0486] ::={importBlockingEntry 2}

[0487] importBlockingRowStatus OBJECT-TYPE

[0488] SYNTAX RowStatus

[0489] MAX-ACCESS read-create

[0490] STATUS current

[0491] DESCRIPTION

[0492] “This variable displays the status of the entry. Disabled entries are not taken into account”

[0493] ::={importBlockingEntry 3}

[0494] ospfSetRuleTable OBJECT-TYPE

[0495] SYNTAX SEQUENCE OF OspfSetRuleEntry

[0496] MAX-ACCESS not-accessible

[0497] STATUS current

[0498] DESCRIPTION

[0499] “Information describing the actions (conditions) that must be applied to the routes selected for export into ospf”

[0500] ::={xxx xxx}

[0501] ospfSetRuleEntry OBJECT-TYPE

[0502] SYNTAX OspfSetRuleEntry

[0503] MAX-ACCESS not-accessible

[0504] STATUS current

[0505] DESCRIPTION

[0506] “An entry in the action (condition) table for routes exported to ospf protocol”

[0507] INDEX {ospfSetRuleld}

[0508] ::={ospfSetRuleTable 1}

[0509] OspfSetRuleEntry::=

[0510] SEQUENCE {

[0511] ospfSetRuleld INTEGER,

[0512] ospfSetRuleRuleMask BITS,

[0513] ospfSetRuleLsaType INTEGER,

[0514] ospfSetRuleMetricType INTEGER,

[0515] ospfSetRuleMetricValue INTEGER,

[0516] ospfSetRuleMetricScale Unsigned32,

[0517] ospfSetRuleTag INTEGER,

[0518] ospfSetRuleRowStatus RowStatus}

[0519] ospfSetRuleld OBJECT-TYPE

[0520] SYNTAX INTEGER

[0521] MAX-ACCESS not-accessible

[0522] STATUS current

[0523] DESCRIPTION

[0524] “This field is used to identify an entry. An entry is associated to a rule when the routeMapSetRule field of a routeMapTable entry contains the same value reported in this field”

[0525] ::={ospfSetRuleEntry 1}

[0526] ospfSetRuleMask OBJECT-TYPE

[0527] SYNTAX BITS {

[0528] RedistributedLsaTypeSet (0),

[0529] metricTypeSet (1),

[0530] metricValueSet (2),

[0531] tagValueSet (3)}

[0532] MAX-ACCESS read-create

[0533] STATUS current

[0534] DESCRIPTION

[0535] “This field is used to select the conditions that must be applied. For not selected conditions a default dependent from the condition is applied.”

[0536] ::={ospfSetRuleEntry 2}

[0537] ospfSetRuleLsaType OBJECT-TYPE

[0538] SYNTAX INTEGER{

[0539] IsaType5 (1),

[0540] IsaType7 (2),

[0541] Isalnternal (3)}

[0542] MAX-ACCESS read-create

[0543] STATUS current

[0544] DESCRIPTION

[0545] “This field contains the kind of LSA that ospf has to use for the advertisement of the imported routes selected by the filters. Type 7 LSAs can be only used in case the router that imports the routes belongs to a not so stubby area. This field is meaningful only in case the redistributedLsaTypeSet bit in the ospfSetRuleMask is set. The value Isalnternal is valid only in case importing/exporting to OSPF. In case the redistributedLsaTypeSet bit in the ospfSetRuleMask is not set the route will be advertised using type 5 LSAs”

[0546] DEFVAL {IsaType5}

[0547] ::={ospfSetRuleEntry 3}

[0548] ospfSetRuleMetricType OBJECT-TYPE

[0549] SYNTAX INTEGER{

[0550] ospfExternalType1 (1),

[0551] ospfExternalType2 (2),

[0552] ospflnternal (3)}

[0553] MAX-ACCESS read-create

[0554] STATUS current

[0555] DESCRIPTION

[0556] “This field contains the kind of metric that ospf has to use for the advertisement of the imported routes selected by the filters. This field is meaningful only in case the metricTypeSet bit in the ospfSetRuleMask is set. The value ospflnternal is valid only when importing from OSPF protocol. In case the metricTypeSet bit in the ospfSetRuleMask is not set the route will be advertised using the external type 2 metric”

[0557] DEFVAL {ospfExternalType2}

[0558] ::={ospfSetRuleEntry 4}

[0559] ospfSetRuleMetricValue OBJECT-TYPE

[0560] SYNTAX INTEGER

[0561] MAX-ACCESS read-create

[0562] STATUS current

[0563] DESCRIPTION

[0564] “This field contains the value of the metric that ospf has to use for the advertisement of the imported routes selected by the filters. This field is meaningful only in case the metricValueSet bit in the ospfSetRuleMask is set. In case the metricValueSet bit in the ospfSetRuleMask is not set the route will be advertised using the metric value 10.”

[0565] DEFVAL {10}::={ospfSetRuleEntry 5}

[0566] ospfSetRuleMetricScale OBJECT-TYPE

[0567] SYNTAX Unsigned32

[0568] MAX-ACCESS read-create

[0569] STATUS current

[0570] DESCRIPTION

[0571] “This field contains the value that ospf has to use, together with ospfSetRuleMetricValue to transform the imported metric into an ospf-understandable metric. If the metric of the route to be imported is X, then the ospf metric is calculated with the formula

M=X*ospfSetRuleMetricScale+ospfSetRuleMetricValue

[0572] Note that this field is coded as a fixed-point unsigned decimal value, where the uppermost 16 bits are for the integer part and the remaining 16 bits are for the fractional part. This field is meaningful only in case the metricScaleSet bit in the ospfSetRuleMask is set. In case the metricValueSet bit in the ospfSetRuleMask is not set the route metric will be calculated using a default value of 0, that is equivalent to use only ospfSetMetricValue in the above formula.”

[0573] DEFVAL {0}::={ospfSetRuleEntry 6}

[0574] ospfSetRuleTag OBJECT-TYPE

[0575] SYNTAX INTEGER

[0576] MAX-ACCESS read-create

[0577] STATUS current

[0578] DESCRIPTION

[0579] “This field contains the value of the tag that ospf has to use for the advertisement of the imported routes selected by the filters. This field is meaningful only in case the tagValueSet bit in the ospfSetRuleMask is set. In case the tagValueSet bit in the ospfSetRuleMask is not set the route will be advertised with no associated tag.”

[0580] ::={ospfSetRuleEntry 7}

[0581] ospfSetRuleRowStatus OBJECT-TYPE

[0582] SYNTAX RowStatus

[0583] MAX-ACCESS read-create

[0584] STATUS current

[0585] DESCRIPTION

[0586] “This variable displays the status of the entry. Disabled entries are not taken into account when performing set activities.”

[0587] ::={ospfSetRuleEntry 8} 

We claim:
 1. A method for sharing, within a network element (NE) of a telecommunication network, routing information deriving from a first routing source, wherein the network element (NE) comprises a management agent (MAG) provided with a management information database (MIB), wherein different routing information deriving from different routing sources is stored in different routing databases (RDB1, RDB2, RDB3) within the network element (NE), wherein the management agent (MAG) performs the steps of: a) receiving from a management manager (MMA) route mapping information; b) storing into the management information database (MIB) route mapping information corresponding to the received route mapping information; and c) retrieving and using the stored route mapping information for exporting said routing information from a first routing database (RDB1) of the first routing source and importing it into a second routing database (RDB2) of a second routing source.
 2. The method according to claim 1, wherein the different routing databases (RDB1, RDB2, RDB3) are managed by a route manager (RMA) and the management agent (MAG) instructs the route manager (RMA) to carry out exportation-importation of routing information.
 3. The method according to claim 1, wherein said first routing source is a routing protocol running within said network element (NE), or said first routing source is a routing protocol running within any neighbouring network element in the telecommunication network, or said first routing source is a management manager external to said network element.
 4. The method according to claim 3, wherein the first and the second routing sources are of the same kind.
 5. The method according to claim 1, wherein said stored route mapping information comprises information relating to at least one mapping rule, and wherein the or each mapping rule comprises information relating to: a set rule for conversion of routing information, particularly for metric conversion; and a match rule indicating to which routing information said set rule applies.
 6. The method according to claim 5, wherein the or each mapping rule comprises further information relating to: an exportation routing source, an importation routing source, an activation flag indicating whether the corresponding mapping rule is actually to be used for exportation-importation, a selection flag indicating whether the corresponding match rule applies or does not apply, an index indicating the order of precedence of the corresponding mapping rule.
 7. The method according to claim 5, wherein the route mapping information is stored within said management information database as a table, wherein each entry in the table corresponds to a different mapping rule.
 8. The method according to claim 5, wherein: the information relating to a match rule consists in a pointer to an entry of at least one match rule table comprised in said management information database; the information relating to a set rule consists in a pointer to an entry of at least one set rule table comprised in said management information base.
 9. The method according to claim 2, wherein the management agent carries out exportation-importation of routing information taking into account eventual import-export blocking information stored, preferably as a table, within said management information database, wherein said blocking information identifies at least one couple of routing sources, and wherein said blocking information overrides the route mapping information.
 10. The method according to claim 5, wherein the match rule indicates: to which routing network addresses the corresponding set rule applies; whether the exportation routing source is internal or external to said network element; whether the importation routing source is internal or external to said network element; and to which external routing source or sources the corresponding set rule applies.
 11. The method according to claim 8, wherein: a) each entry in the or each match rule table comprises information relating to at least a destination network address, and a destination network address mask; b) each entry in the or each set rule table comprises information relating to at least a metric value, and a metric scale.
 12. A processor program product comprising program code portions adapted to perform the steps of the method according to any of claims from 1 to 11 when executed by a processor.
 13. A memory means storing a processor program product comprising program code portions adapted to perform the steps of the method according to any of claims from 1 to 11 when executed by a processor.
 14. A network element (NE) provided with a management information database (MIB) and comprising a management agent (MAG), characterized in that the management information database (MIB) is adapted to store route mapping information and in that the management agent (MAG) is adapted to carry out the sharing method according to any of claims from 1 to
 11. 